/*
 * cmd_task.c
 *
 *  Created on: 30.06.2010
 *      Author: Phil
 */

#include "cmd_task.h"

#include <utility/trace.h>
#include <FreeRTOS.h>
#include <task.h>

#define cmdTASK_PRIORITY					( tskIDLE_PRIORITY + 2 )

static void vCMDTask(void *pvParameters)
{
	while(1) {
		taskENTER_CRITICAL();
		vTaskSuspend(NULL);
		taskEXIT_CRITICAL();
	}
}


void CMDTask_Init(void)
{
	xTaskCreate( vCMDTask, (const signed char * const)"CMD", configMINIMAL_STACK_SIZE + 50, NULL, cmdTASK_PRIORITY, 0);
}
